package com.example.demo.Service.impl;

import com.example.demo.Service.IProvinceCityDistrictService;
import com.example.demo.entity.ProvinceCityDistrict;
import com.example.demo.mapper.ProvinceCityDistrictMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IProvinceCityDistrictServiceImpl implements IProvinceCityDistrictService {

    @Autowired
    private ProvinceCityDistrictMapper provinceCityDistrictMapper;


    @Override
    public List<ProvinceCityDistrict> selectByPid(Long pid) {
        return provinceCityDistrictMapper.select(pid);
    }
}
